﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace AzureTelemetryBlob
{
    public class Exceptions
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public Guid EId { get; set; }

        public string Id { get; set; }

        public string User { get; set; }

        public string typeName { get; set; }

        public string handledAt { get; set; }

        public int count { get; set; }

        public string method { get; set; }

        public string exceptionType { get; set; }

        public string assembly { get; set; }

        public string problemId { get; set; }

        public string outerId { get; set; }

        public string message { get; set; }

        public bool? hasFullStack { get; set; }

        public string stack { get; set; }

        public string internal_data_id { get; set; }

        public string internal_data_documentVersion { get; set; }

        public DateTime? context_data_eventTime { get; set; }

        public string context_device_id { get; set; }

        public string context_device_type { get; set; }

        public string context_device_osVersion { get; set; }

        public string context_device_locale { get; set; }

        public string context_device_userAgent { get; set; }

        public string context_device_screenResolution_value { get; set; }

        public string context_user_anonId { get; set; }

        public string context_user_anonAcquisitionDate { get; set; }

        public string context_user_authAcquisitionDate { get; set; }

        public string context_user_accountAcquisitionDate { get; set; }

        public string context_session_id { get; set; }

        public bool context_session_isFirst { get; set; }

        public string context_operation_id { get; set; }

        public string context_location_clientip { get; set; }
        
    }
}